home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970929-19971216
/
000316_news@newsmaster….columbia.edu _Mon Nov 24 14:18:40 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA28403
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 24 Nov 1997 14:18:24 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA15260
for kermit.misc@watsun; Mon, 24 Nov 1997 14:18:24 -0500 (EST)
Path: news.columbia.edu!panix!howland.erols.net!europa.clark.net!206.251.127.49!newsfeed.gte.net!news.gte.net!not-for-mail
From: rmergner@hworks.com (Bob Mergner)
Newsgroups: comp.protocols.kermit.misc
Subject: Invalid Handle message in K95 script
Date: 24 Nov 1997 19:14:35 GMT
Organization: Healthworks Alliance
Lines: 35
Message-ID: <65cjmr$e7k$1@gte2.gte.net>
NNTP-Posting-Host: 1cust183.tnt23.nyc3.da.uu.net
X-Auth: DE428C18068196D117CB8491
X-Newsreader: Forte Free Agent 1.1/32.230
Xref: news.columbia.edu comp.protocols.kermit.misc:8105
I have a script that I am using to upload files to a host using K95.
A part of he scipt looks like this:
open !read dir/b *.orders
while success {
read \%s
if fail GOTO pickup
pause 2
send \%s
if fail GOTO START
close write
open write copyit.bat
write-line FILE {copy \%s c:\\labname\\orders\\sent}
write-line FILE {Del \%s}
write-line FILE {Exit}
close write
run copyit.bat
}
:pickup
echo Moving orders to inbound...
remote host copy *.orders inbound:*.ord
if fail GOTO START
echo Cleaning up moved orders...
remote host delete *.orders;*
The problem is that if I move the two lines under :pickup that do the
remote delete and put them up in the loop after the send \%s, K95
gives me about 5 'invalid handles' errors and does not process my
commands properly. Does anybody know why that would be? I have tried
putting a pause in after the send and the first remote host command,
but this doesn't help. Any help would be most appreciated.
-Bob Mergner
Interface Software Engineer
Healthworks Alliance Inc.